package club.adger.controller.home;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: Adger
 * @Date: 2020/07/29/22:28
 */
@RequestMapping("/home")
@Controller
public class HomeController {

    /**
     * 跳转到编辑界面
     * @return
     */
    @GetMapping("/edit")
    public String edit(){
        return "/home/edit";
    }
}
